package com.young.common.context;

import java.nio.charset.Charset;

/**
 * @description：
 * @author: yangyahui01
 * @date: 11/29/24 2:06 PM
 */
public final class ContextConstants {
    public static final String NAMESPACE_APPLICATION = "spring.application";
    public static final String PROJECT = "project";
    public static final String CLOUD = "cloud";
    public static final String DEFAULT_CLOUD = "unknown";
    public static final String GROUP = "group";
    public static final String HOST_NAME = "hostName";
    public static final String ENV = "env";
    public static final String LOCAL_IP = "localIp";
    public static final String PROFILE = "profile";
    public static final String PREFER_PROFILE = "prefer-profile";
    public static final String PASSWORD = "password";
    public static final String PROJECT_SP_KEY = "PROJECT";
    public static final String CLOUD_SP_KEY = "CLOUD";
    public static final String GROUP_SP_KEY = "GROUP";
    public static final String ENV_SP_KEY = "ENV";
    public static final String PROPERTY_SELECTOR_KEY = "property.selector";
    public static final String WEB_SECURITY_PASSWORD_SP_KEY = "WEB_SECURITY_PASSWORD";
    public static final String PROFILE_SP_KEY = "PROFILE";
    public static final String PREFER_PROFILE_SP_KEY = "PREFER_PROFILE";
    public static final String PROJECT_REGEX = "^((?!(_|\\$)).)*$";
    public static final String DEFAULT_CHARSET = "UTF-8";
    public static final Charset CHARSET_UTF8 = Charset.forName("UTF-8");
    public static final String DEBUG = "debug";
    public static final String CONTAINER_SP_KEY = "CONTAINER";
    public static final String CONTAINER = "container";

    private ContextConstants() {
    }
}

